﻿using Common.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wallpaper.Models.DTOs.Base;
using Wallpaper.Models.DTOs.Responses;
using Wallpaper.Models.Entities;

namespace Wallpaper.Services.IService
{
    public interface IDownloadRecordService
    {
        Task<bool> CreateAsync(string wallpaperId,string userId);
        Task<bool> DeleteAsync(string id);
        Task<PagedResult<DownloadRecordUserResponse>> DownloadHistory(QueryRequest query,string userId);
        Task<PagedResult<DownloadRecordResponse>> UsersDownloadHistory(TimeRangeQuery query);
    }
}
